package com.scs.application.modules.msg;

public class MessagePool<T> {

	private static MessagePool<Object> instance = new MessagePool<Object>();

	private T a = null;
	private MessagePool(){
	}

	public static <T> MessagePool<T> getInstance(){
		return (MessagePool<T>) instance;
	}

	public T get(){
		return a;
	}
	public static void main(String[] args) {
		MessagePool<String> instance = MessagePool.getInstance();
	}
}

